<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="../../Build/react.development.js"></script>
    <script src="../../Build/react-dom.development.js"></script>
    <script src="../../Build/babel.min.js"></script>
  </head>
  <body>
    <div id="app"></div>
    <script type="text/babel">
      class ToDoList extends React.Component {
        render () {
          return (
            <ol>
              {
                React.Children.map(this.props.children, function (child) {
                  return <li>{child}</li>
                })
              }
            </ol>
          )
        }
      }
      ReactDOM.render(
        <ToDoList>
          <div>hello</div>
          <div>world</div>
        </ToDoList>,
        document.getElementById('app')
      )
    </script>
  </body>
</html>